package com.projectName.www.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class User {


    //用户名字
    private String userName;
    //用户身份
    private int userType;
    //用户类型
    private Integer uId;
    //用户uID


    private BigDecimal discount;
    //用户密码
    private String password;

    private  BigDecimal  money;
    //简介
    private String jianjie;

    private String contact;

    private String address;

    private Integer onlinestatus;


    public User() {

    }

    public User(Integer userType,String userName, String password) {
        this.userName = userName;
        this.password = password;
        this.userType = userType;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", userType=" + userType +
                ", uId=" + uId +
                ", discount=" + discount +
                ", password='" + password + '\'' +
                ", money=" + money +
                ", jianjie='" + jianjie + '\'' +
                ", contact='" + contact + '\'' +
                ", address='" + address + '\'' +
                ", onlinestatus=" + onlinestatus +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getJianjie() {
        return jianjie;
    }

    public void setJianjie(String jianjie) {
        this.jianjie = jianjie;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getOnlinestatus() {
        return onlinestatus;
    }

    public void setOnlinestatus(Integer onlinestatus) {
        this.onlinestatus = onlinestatus;
    }
}
